package com.itheima.service;

import com.itheima.domain.pojo.PageResult;
import com.itheima.domain.pojo.Student;
import com.itheima.domain.query.StudentQueryParam;

/**
 * @author: Sch
 * @Date: 2025/07/14 19:34
 * @Description:
 */
public interface StudentService {

    /**
     * 分页查询
     *
     * @param studentQueryParam
     * @return
     */
    PageResult page(StudentQueryParam studentQueryParam);

    //添加学生
    void save(Student student);

    //回显
    Student getInfo(Integer id);

    //修改
    void update(Student student);
    //删除
    void deleteById(Integer[] id);
}
